package com.team7.happycommunity.parkservice.service.impl;

import com.team7.happycommunity.parkservice.dao.ParkingInfoMapper;
import com.team7.happycommunity.parkservice.pojo.ParkingInfo;
import com.team7.happycommunity.parkservice.service.ParkingInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ParkingInfoServiceImpl implements ParkingInfoService {

    @Autowired
    ParkingInfoMapper parkingInfoMapper;

    @Override
    public List<ParkingInfo> getMList(int areaid) {
        return parkingInfoMapper.selectByAreaId(areaid);
    }
}
